package Homework;

import java.io.Serializable;
import java.security.PrivateKey;
import java.util.Arrays;

public class Student implements Serializable {
    private  String name;
    private  int age;
    private  String gender;
    private  String []arr;

    public Student() {
    }

    public Student(String name, int age, String gender, String[] arr) {
        this.name = name;
        this.age = age;
        this.gender = gender;
        this.arr = arr;
    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", gender='" + gender + '\'' +
                ", arr=" + Arrays.toString(arr) +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String[] getArr() {
        return arr;
    }

    public void setArr(String[] arr) {
        this.arr = arr;
    }
}
